package cn.tedu.design;

public class Test {
    public static void main(String[] args) {
        Teacher t = new CgbTeacher();
        t.ready();

        Teacher2 t2 = new ActTeacher();
        t2.ready();
        t2.teach();
    }
}
